import { API_URL } from "./serviveApi"


export const APP_ID= 'wx9b3aca1b826443de'


export const PAGE_PATH = {
    INDEX: '/pages/index/index',
    LOGIN:'/pages/login/login',

    EXAMINE_PROCESS: '/packageSettled/pages/examineProcess/examineProcess',
    USER_JOIN_INFO: '/packageSettled/pages/userJoinInfo/userJoinInfo',
    TOPIC_SETTING: '/packageSettled/pages/topicSetting/topicSetting',
    USER_README: '/packageSettled/pages/userReadme/userReadme',
    PHOTO_VIDEO: '/packageSettled/pages/photoVideo/photoVideo',
    DURATION_CAST: '/packageSettled/pages/durationCost/durationCost',
    SETTING: '/packageUser/pages/setting/setting',
    PROMOTION: '/packageUser/pages/promotion/promotion',
    PERSIONINFO: '/packageUser/pages/personInfo/personInfo',
    EDIT_DESCRIPTION:'/packageEdit/pages/editDescription/editDescription',
    EDIT_NICKNAME: '/packageEdit/pages/editNickName/editNickName',
    EDIT_PHOTO: '/packageEdit/pages/editPhoto/editPhoto',
    EDIT_VIDEO: '/packageEdit/pages/editVideo/editVideo',
    PRIVACY: '/packageUser/pages/privacy/privacy',

  

}
// 不能随意删除
export enum PAGE_TYPE {
    INDEX='INDEX',
    LOGIN='LOGIN',
    EXAMINE_PROCESS = 'EXAMINE_PROCESS',
    USER_JOIN_INFO = 'USER_JOIN_INFO',
    TOPIC_SETTING = 'TOPIC_SETTING',
    USER_README = 'USER_README',
    PHOTO_VIDEO = 'PHOTO_VIDEO',
    DURATION_CAST = 'DURATION_CAST',
    SETTING = 'SETTING',
    PROMOTION='PROMOTION',
    PERSIONINFO='PERSIONINFO',
    EDIT_DESCRIPTION='EDIT_DESCRIPTION',
    EDIT_NICKNAME='EDIT_NICKNAME',
    EDIT_PHOTO='EDIT_PHOTO',
    EDIT_VIDEO='EDIT_VIDEO',
    PRIVACY='PRIVACY',
   
}

export enum RESPONSE_CODE {
    SUCCESS = 1,
    LOGIN_EXPIRE = 409,
    AJAX_SUCCESS = 200,
    LOGIN_NEED=303,
    ERROR= 403
}
export const STORE_KEY_HEAD = 'chat-service-wxapp-'
export const STORE_KEY = {
    NOT_LOAD : STORE_KEY_HEAD + 'notLoad',
    BASE_USER_INFO: STORE_KEY_HEAD + 'baseUserInfo',
    TOPIC: STORE_KEY_HEAD + 'topic',
    README: STORE_KEY_HEAD + 'readMe',
    PHOTO_LIST: STORE_KEY_HEAD + 'photoList',
    ORIGIN_PHOTO_LIST: STORE_KEY_HEAD + 'originphotoList',

    VIDEO_URL: STORE_KEY_HEAD + 'videoUrl',
    TOKEN: STORE_KEY_HEAD + 'token',
    USER_ID: STORE_KEY_HEAD + 'userId',
    USER_PROFILE_STATUS: STORE_KEY_HEAD + 'userProfileStatus',
    PHONE: STORE_KEY_HEAD + 'phone',
    USER_INFO: STORE_KEY_HEAD + 'userInfo',
    JOB_ID_DESC: STORE_KEY_HEAD + 'jobIdDesc',
    JOB_ID_LIST: STORE_KEY_HEAD + 'jobIdList',
    CHANNEL_CATEGORIE_LIST : STORE_KEY_HEAD + 'channelCategorie',
    ADD_SERVICE_TYPE : STORE_KEY_HEAD + 'addServiceType',
    ADD_SERVICE_TYPE_DESC : STORE_KEY_HEAD + 'addServiceDesc',
    EDIT_NICKNAME : STORE_KEY_HEAD + 'editNickName',
    EDIT_AVATAR : STORE_KEY_HEAD + 'editAvatar',


}
export const HOME_PAGE_URL = 'https://mp.weixin.qq.com/s/AO8KYDwMmRScql5zSVWrVw'

export const UPLOAD_VIDEO_SIZE = 104857600

export const TOPIC_NUM= 68

export const DEFAULT_AVATAR = `${API_URL}/static/images/avatar.png`

export const APPOINTMENT_NOTICE_ID='pT46kSBgGT8NZzI1mFhf4ax_yRMYx1c_z7hBVCgh0OA'
export const EAXMINE_NOTICE_ID='MLNUa0E1b8iI-a02hb4oOHFGC-uc7xkOFV6HTtuTs0w'
export const SUBSCRIBE_NOTICE={
    [APPOINTMENT_NOTICE_ID]:'收到预约申请通知',
    [EAXMINE_NOTICE_ID]:'审核结果提醒'
}